<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>box-shadow盒子阴影</title>
    <style>
      .box1 {
        position: relative;
        width: 150px;
        height: 200px;
        background-color: orange;
        font-size: 20px;
        margin: 0 auto;
        margin-top: 50%;

        /* 水平 垂直 模糊程度 外沿程度 颜色 insert  */
        /* box-shadow: 7px 1px 16px 9px blueviolet; */
        transition: all 0.5s ease;
        border-radius: 5px;
      }
      .box1:hover {
        box-shadow: 0 0 15px black;
        top: -1px;
        left: 0;
      }
    </style>
  </head>
  <body>
    <div class="box1">Reactive</div>
  </body>
</html>
